import 'package:flutter/material.dart';
import 'package:yueyin/global/reg.dart';
import 'package:yueyin/utils/yue_bar.dart';

class MenuView extends StatefulWidget {
  const MenuView({Key? key}) : super(key: key);

  @override
  _MenuViewState createState() => _MenuViewState();

}

class _MenuViewState extends State<MenuView> {

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: actionBar('主页菜单', [
        IconButton(
            onPressed: () {
              Navigator.of(context).pushNamed(Reg.theme);
            },
            icon: Icon(Icons.settings)),
      ]),
    );
  }
}
